from django.db import models

from gis.admin.models import User
from gis.common.django_ext.models import BaseModel


class Account(BaseModel):
    """
    管理员
    """
    user = models.OneToOneField(User, on_delete=models.PROTECT)
    use_vcode = models.BooleanField(default=True)
